package xs.szw.service.service.auth;

import xs.szw.service.model.dto.user.UserDto;
import xs.szw.service.model.pojo.captcha.CaptchaInfo;
import xs.szw.service.model.pojo.security.AuthenticationToken;

/**
 * @program: xs_oa
 * @description:
 * @author: Songzw
 * @create: 2025-02-09 13:42
 **/
public interface AuthService {

    /**
     * 登录
     * @param userDto
     * @return
     */
    AuthenticationToken login(UserDto userDto);

    /**
     * 退出
     * @return
     */
    void logOut();

    /**
     * 获取验证码
     * @return
     */
    CaptchaInfo getCaptcha();


}
